package com.mioto.ld.module.device.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author mioto-qinxj
 * @date 2024/6/8
 * @desc
 */
@Getter
@Setter
@ApiModel("设备详情 - app")
public class DeviceDetailAppVO{
    @ApiModelProperty(value = "设备id")
    private Integer id;
    @ApiModelProperty(value = "产品id")
    private Integer productId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "注册时间")
    private Date registrationTime;
    @ApiModelProperty(value = "设备详细地址id")
    private Integer addressId;
    @ApiModelProperty(value = "设备经纬度坐标")
    private String location;
    @ApiModelProperty("设备类型")
    private String deviceType;
    @ApiModelProperty("设备型号")
    private String deviceModel;
    @ApiModelProperty("设备厂商")
    private String deviceManufacturer;
    @ApiModelProperty("所属客户")
    private String organizationName;
    @ApiModelProperty(value = "设备序列表")
    private String sn;
    @ApiModelProperty(value = "邮编")
    private String postalCode;
    @ApiModelProperty(value = "备注")
    private String desc;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "最后开机时间")
    private Date lastOnlineDate;
}
